package cn.ycxy.lbl.pojo.member.vo;

import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@JsonInclude(JsonInclude.Include.NON_NULL)  //忽略为null的字段序列化返回
@ApiModel(value = "查询用户信息模板")
@Data
public class UserDetailVO implements Serializable {

    @ApiModelProperty(value = "用户id")
    private Long id;
    @ApiModelProperty(value = "用户昵称")
    private String nickname;
    @ApiModelProperty(value = "手机号码")
    private String phone;
    @ApiModelProperty(value = "用户头像")
    private String avatar;
    @ApiModelProperty(value = "用户所属学院")
    private String college;

}
